package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.ExamPaper;
import com.yuyou.fn.educational.vo.ExamPaperQueryVo;
import com.yuyou.fn.educational.vo.ExamPaperQuestionsVo;
import com.yuyou.fn.educational.vo.ExamPaperSaveOrUpdateVo;
import com.yuyou.fn.educational.vo.ExamQuestionsSaveOrUpdateVo;

/**
 *
 * ExamPaper 表数据服务层接口
 *
 */
public interface IExamPaperService extends ISuperService<ExamPaper,Long> {


    ExamPaperQuestionsVo findQuestionsOfExamPaper(Long examPaperId);

    void saveOrUpdateExamPaperQuestions(ExamQuestionsSaveOrUpdateVo examQuestionsSaveOrUpdateVo);


    Page<ExamPaper> findExamPapersByQuery(ExamPaperQueryVo examPaperQueryVo, int pageNo, int pageSize);

    void saveOrUpdateExamPaper(ExamPaperSaveOrUpdateVo examPaperSaveOrUpdateVo);


    void delExamPaper(Long examPaperId);

}